﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200118D RID: 4493
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetRogueExhibitionScRsp : IMessage<SetRogueExhibitionScRsp>, IMessage, IEquatable<SetRogueExhibitionScRsp>, IDeepCloneable<SetRogueExhibitionScRsp>, IBufferMessage
	{
		// Token: 0x170038D9 RID: 14553
		// (get) Token: 0x0600C91A RID: 51482 RVA: 0x0021E18F File Offset: 0x0021C38F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetRogueExhibitionScRsp> Parser
		{
			get
			{
				return SetRogueExhibitionScRsp._parser;
			}
		}

		// Token: 0x170038DA RID: 14554
		// (get) Token: 0x0600C91B RID: 51483 RVA: 0x0021E196 File Offset: 0x0021C396
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetRogueExhibitionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170038DB RID: 14555
		// (get) Token: 0x0600C91C RID: 51484 RVA: 0x0021E1A8 File Offset: 0x0021C3A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetRogueExhibitionScRsp.Descriptor;
			}
		}

		// Token: 0x0600C91D RID: 51485 RVA: 0x0021E1AF File Offset: 0x0021C3AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRogueExhibitionScRsp()
		{
		}

		// Token: 0x0600C91E RID: 51486 RVA: 0x0021E1D0 File Offset: 0x0021C3D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRogueExhibitionScRsp(SetRogueExhibitionScRsp other) : this()
		{
			this.gIKIDKIEDJO_ = other.gIKIDKIEDJO_.Clone();
			this.retcode_ = other.retcode_;
			this.aOGCEINCOJG_ = other.aOGCEINCOJG_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C91F RID: 51487 RVA: 0x0021E222 File Offset: 0x0021C422
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRogueExhibitionScRsp Clone()
		{
			return new SetRogueExhibitionScRsp(this);
		}

		// Token: 0x170038DC RID: 14556
		// (get) Token: 0x0600C920 RID: 51488 RVA: 0x0021E22A File Offset: 0x0021C42A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<EHHFHIMIKKB> GIKIDKIEDJO
		{
			get
			{
				return this.gIKIDKIEDJO_;
			}
		}

		// Token: 0x170038DD RID: 14557
		// (get) Token: 0x0600C921 RID: 51489 RVA: 0x0021E232 File Offset: 0x0021C432
		// (set) Token: 0x0600C922 RID: 51490 RVA: 0x0021E23A File Offset: 0x0021C43A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170038DE RID: 14558
		// (get) Token: 0x0600C923 RID: 51491 RVA: 0x0021E243 File Offset: 0x0021C443
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<CNEGKPBIFCA> AOGCEINCOJG
		{
			get
			{
				return this.aOGCEINCOJG_;
			}
		}

		// Token: 0x0600C924 RID: 51492 RVA: 0x0021E24B File Offset: 0x0021C44B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetRogueExhibitionScRsp);
		}

		// Token: 0x0600C925 RID: 51493 RVA: 0x0021E25C File Offset: 0x0021C45C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetRogueExhibitionScRsp other)
		{
			return other != null && (other == this || (this.gIKIDKIEDJO_.Equals(other.gIKIDKIEDJO_) && this.Retcode == other.Retcode && this.aOGCEINCOJG_.Equals(other.aOGCEINCOJG_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C926 RID: 51494 RVA: 0x0021E2C0 File Offset: 0x0021C4C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.gIKIDKIEDJO_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.aOGCEINCOJG_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C927 RID: 51495 RVA: 0x0021E31B File Offset: 0x0021C51B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C928 RID: 51496 RVA: 0x0021E323 File Offset: 0x0021C523
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C929 RID: 51497 RVA: 0x0021E32C File Offset: 0x0021C52C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			this.gIKIDKIEDJO_.WriteTo(ref output, SetRogueExhibitionScRsp._repeated_gIKIDKIEDJO_codec);
			this.aOGCEINCOJG_.WriteTo(ref output, SetRogueExhibitionScRsp._repeated_aOGCEINCOJG_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C92A RID: 51498 RVA: 0x0021E38C File Offset: 0x0021C58C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.gIKIDKIEDJO_.CalculateSize(SetRogueExhibitionScRsp._repeated_gIKIDKIEDJO_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.aOGCEINCOJG_.CalculateSize(SetRogueExhibitionScRsp._repeated_aOGCEINCOJG_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C92B RID: 51499 RVA: 0x0021E3F0 File Offset: 0x0021C5F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetRogueExhibitionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.gIKIDKIEDJO_.Add(other.gIKIDKIEDJO_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.aOGCEINCOJG_.Add(other.aOGCEINCOJG_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C92C RID: 51500 RVA: 0x0021E44E File Offset: 0x0021C64E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C92D RID: 51501 RVA: 0x0021E458 File Offset: 0x0021C658
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 66U)
					{
						if (num != 106U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.aOGCEINCOJG_.AddEntriesFrom(ref input, SetRogueExhibitionScRsp._repeated_aOGCEINCOJG_codec);
						}
					}
					else
					{
						this.gIKIDKIEDJO_.AddEntriesFrom(ref input, SetRogueExhibitionScRsp._repeated_gIKIDKIEDJO_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040050C3 RID: 20675
		private static readonly MessageParser<SetRogueExhibitionScRsp> _parser = new MessageParser<SetRogueExhibitionScRsp>(() => new SetRogueExhibitionScRsp());

		// Token: 0x040050C4 RID: 20676
		private UnknownFieldSet _unknownFields;

		// Token: 0x040050C5 RID: 20677
		public const int GIKIDKIEDJOFieldNumber = 8;

		// Token: 0x040050C6 RID: 20678
		private static readonly FieldCodec<EHHFHIMIKKB> _repeated_gIKIDKIEDJO_codec = FieldCodec.ForMessage<EHHFHIMIKKB>(66U, EHHFHIMIKKB.Parser);

		// Token: 0x040050C7 RID: 20679
		private readonly RepeatedField<EHHFHIMIKKB> gIKIDKIEDJO_ = new RepeatedField<EHHFHIMIKKB>();

		// Token: 0x040050C8 RID: 20680
		public const int RetcodeFieldNumber = 2;

		// Token: 0x040050C9 RID: 20681
		private uint retcode_;

		// Token: 0x040050CA RID: 20682
		public const int AOGCEINCOJGFieldNumber = 13;

		// Token: 0x040050CB RID: 20683
		private static readonly FieldCodec<CNEGKPBIFCA> _repeated_aOGCEINCOJG_codec = FieldCodec.ForMessage<CNEGKPBIFCA>(106U, CNEGKPBIFCA.Parser);

		// Token: 0x040050CC RID: 20684
		private readonly RepeatedField<CNEGKPBIFCA> aOGCEINCOJG_ = new RepeatedField<CNEGKPBIFCA>();
	}
}
